package cn.biplam.front.component.view.mdManage.buffer2md.main.callback;

import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.common.wrapper.Result;
import cn.biplam.common.wrapper.UserInfo;
import cn.biplam.front.callback.CallBack;
import cn.biplam.front.component.data.common.ButtonComp;
import cn.biplam.front.html.base.HtmlWindow;

/**
 * Select字段信息页面—Select已选的字段信息表——操作按钮绑定器
 * @author XiaoRuxing 2009-6-22下午03:59:24
 * @version 1.0
 */
public class Buffer2MdOperatorCallBack implements CallBack{

	public HtmlWindow[] getGroup(Result data, String homeUrl, UserInfo mUser)
			throws ErrorMessage {
		/** 创建按钮 */
		HtmlWindow[] opetator=new HtmlWindow[4];
		/** 略过按钮 */
		opetator[0]=ButtonComp.get(mUser, "68"); 
		/**更新按钮*/
		opetator[1]=ButtonComp.get(mUser, "69");
		/** 修改按钮 */
		opetator[3]=ButtonComp.get(mUser, "27"); 
		/**删除按钮*/
		opetator[2]=ButtonComp.get(mUser, "2");
		return opetator;
	}

}
